LassoScript Utility
Basics Browse Detail

[Image->Contrast]

Tag Link [Image->Contrast] Category Image
Type Member Source Available Yes
Support Preferred Version 7.0
Change Unchanged Data Source Any
Output Type None Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0

Description

Enhances the intensity differences between the lighter and darker elements of the image. Specify 'False' to reduce the image contrast, otherwise the contrast is increased.

Syntax

[Image Variable->Contrast]
[Image Variable->(Contrast: 'False')]

Parameters

Optional Parameters
'False' Reduces the image contrast as opposed to increasing it.

Examples

To adjust the contrast of an image:

Use the [Image->Contrast] tag on a defined image variable. The first example increases the contrast. The second example uses a False parameter, which reduces the contrast instead.

[Var: 'MyImage' =(Image: '/images/image.jpg')]
[$MyImage->Contrast]
[$MyImage->(Save: '/images/image.jpg')]

[Var: 'MyImage' =(Image: '/images/image.jpg')]
[$MyImage->(Contrast: 'False')]
[$MyImage->(Save: '/images/image.jpg')]